Skip to content

fix(web): show live names in thread-read activity - #13140

Open
Bil0000 wants to merge 1 commit into
pingdotgg:mainfrom
Bil0000:show-live-thread-names
Open

Bil0000 wants to merge 1 commit into
pingdotgg:mainfrom
Bil0000:show-live-thread-names

Conversation

@Bil0000

@Bil0000 Bil0000 commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

What Changed

“Read a T3 thread” activity now names the thread it read, on one line: Read thread “Review auth flow”, in the tool’s tense (Reading / Read / Failed to read). On finished rows the title links to that thread; clicking anywhere else on the row still expands the tool call. The title comes from client shell state, so a rename shows up without a DB join. If the thread is unknown, archived or deleted, the row keeps the generic “Read a T3 thread” label and no link.

Why

The tool label alone does not identify the target thread.

UI Changes

Finished row. The title links to the thread; an unknown thread keeps the generic label:

Finished rows: Read thread “Review auth flow” with the title linked, and a failed read of an unknown thread with the generic label

After renaming the target thread, the same row shows the new name:

After rename: Read thread “Harden session refresh”

While the call runs, the live row reads in the present tense:

In progress: Reading thread “Harden session refresh”

Verification

Focused MessagesTimeline tests (204), web typecheck, and scoped lint and format checks passed. In an isolated dev app with real Codex t3_thread_read calls, the title opened the target thread, followed a rename, and clicking the rest of the row still expanded it. All latest CI checks passed.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included screenshots for UI changes
  • I included a video for animation/interaction changes

Model: GPT-6 Codex (native Codex harness). Single-line redesign by Claude Opus 5.5 (Claude Code).

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Sep 22, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Sep 22, 2026
@macroscopeapp

macroscopeapp Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Would Approve

Macroscope's review found this PR approvable — This is a small, self-contained web timeline fix that derives live thread titles from existing shell state, updates accessible labels, and links settled rows without changing server behavior or schemas. An unresolved Medium finding still flags incorrect linking for archived or deleted threads and should be addressed separately.

Not approved because:

  • 1 blocking correctness issue found at or above your repo's Minimum Blocking Severity

Adjust the Minimum Blocking Severity for this repo — including turning it Off — in Settings. You can add or adjust custom eligibility rules. Learn more.

@juliusmarminge
juliusmarminge force-pushed the t3code/codex-turn-mapping branch from a419382 to f2bdd9f Compare September 23, 2026 00:50
@Bil0000
Bil0000 force-pushed the show-live-thread-names branch from 1fcdb1c to d9b7330 Compare September 23, 2026 02:45
@macroscopeapp
macroscopeapp Bot dismissed their stale review September 23, 2026 04:09

Dismissing prior approval to re-evaluate 2332b93

@juliusmarminge
juliusmarminge force-pushed the t3code/codex-turn-mapping branch from 060756d to d6dcd10 Compare September 23, 2026 04:10
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Sep 23, 2026
@Bil0000
Bil0000 force-pushed the show-live-thread-names branch from 2332b93 to 235ede3 Compare September 23, 2026 04:14
@juliusmarminge
juliusmarminge force-pushed the t3code/codex-turn-mapping branch 2 times, most recently from d2675dc to 9cbaf77 Compare September 23, 2026 07:35
@Bil0000
Bil0000 force-pushed the show-live-thread-names branch from 235ede3 to 48b64e2 Compare September 23, 2026 10:17
@macroscopeapp
macroscopeapp Bot dismissed their stale review September 23, 2026 10:18

Dismissing prior approval to re-evaluate 48b64e2

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Sep 23, 2026
@juliusmarminge
juliusmarminge force-pushed the t3code/codex-turn-mapping branch 2 times, most recently from 6ca6a24 to 3e4ca4c Compare September 23, 2026 23:24
@Bil0000
Bil0000 force-pushed the show-live-thread-names branch from 48b64e2 to 6bdfff1 Compare September 24, 2026 01:37
@juliusmarminge
juliusmarminge force-pushed the t3code/codex-turn-mapping branch from 1bd44f2 to 3b9c885 Compare September 24, 2026 04:06
@macroscopeapp

This comment has been minimized.

@macroscopeapp
macroscopeapp Bot dismissed their stale review September 24, 2026 07:46

Dismissing prior approval to re-evaluate b15da98

@macroscopeapp

This comment has been minimized.

1 similar comment
@macroscopeapp

This comment has been minimized.

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Sep 24, 2026
@juliusmarminge
juliusmarminge force-pushed the t3code/codex-turn-mapping branch 2 times, most recently from 6448cfe to 1563a64 Compare September 24, 2026 23:21
@Bil0000
Bil0000 force-pushed the show-live-thread-names branch from b15da98 to 51614af Compare September 25, 2026 00:45
@juliusmarminge
juliusmarminge force-pushed the t3code/codex-turn-mapping branch from fe4f6ad to 87c67bd Compare September 25, 2026 05:55

Copy link
Copy Markdown
Member

Note

This comment is posted by Julius' dot

The supplied screenshots show the renamed labels, but not the title-link and row-expansion interaction. Could you add a short recording showing the target opening, the rest of the row expanding, and a rename reaching the same row, plus a before screenshot? This would complete the UI verification evidence while preserving Julius' inline-label rewrite.

@juliusmarminge
juliusmarminge deleted the branch pingdotgg:main October 2, 2026 19:23
@juliusmarminge juliusmarminge added the triage:keep-open Keeps this PR open despite not necessarily passing the contribution guide fully label Oct 2, 2026
@juliusmarminge juliusmarminge reopened this Oct 2, 2026
@juliusmarminge
juliusmarminge changed the base branch from t3code/codex-turn-mapping to main October 2, 2026 20:40
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 2, 2026 20:41

Dismissing prior approval to re-evaluate 58d86fe

@macroscopeapp

macroscopeapp Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Macroscope has since reviewed this pull request. An earlier review was skipped by a cost limit; a review has now completed, so that notice no longer applies.

Replay the contribution onto current main and resolve integration changes.

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: PR Batch Tester <agent@local.test>
@juliusmarminge
juliusmarminge force-pushed the show-live-thread-names branch from 58d86fe to 098baaf Compare October 2, 2026 20:58
@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.

Next included review available in 42 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 21cdf8b3-3892-41e2-94f2-ad2337299692

📥 Commits

Reviewing files that changed from the base of the PR and between cc1e634 and 098baaf.

📒 Files selected for processing (3)
  • apps/web/src/components/chat/MessagesTimeline.logic.test.ts
  • apps/web/src/components/chat/MessagesTimeline.logic.ts
  • apps/web/src/components/chat/MessagesTimeline.tsx
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

const { workEntry, workspaceRoot, displayLabel } = props;
const ctx = use(TimelineRowCtx);
const { threadRef, onImageExpand, timestampFormat } = ctx;
const threadTarget = useThreadReadTarget(workEntry, ctx.activeThreadEnvironmentId);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium chat/MessagesTimeline.tsx:4998

Archived or deleted threads are rendered with their shell title as a linked ThreadReadLabel, and clicking a deleted thread navigates to the deleted-thread route. useThreadReadTarget must only return a target when shell.archivedAt === null && shell.deletedAt === null; otherwise this row should retain its generic non-link label.

🤖 Copy this AI Prompt to have your agent fix this:
In file @apps/web/src/components/chat/MessagesTimeline.tsx around line 4998:

Archived or deleted threads are rendered with their shell title as a linked `ThreadReadLabel`, and clicking a deleted thread navigates to the deleted-thread route. `useThreadReadTarget` must only return a target when `shell.archivedAt === null && shell.deletedAt === null`; otherwise this row should retain its generic non-link label.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). triage:keep-open Keeps this PR open despite not necessarily passing the contribution guide fully vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants